mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Use ArtifactID instead of int when possible
This commit is contained in:
@@ -78,7 +78,7 @@ CArtifact::~CArtifact()
|
||||
|
||||
int CArtifact::getArtClassSerial() const
|
||||
{
|
||||
if(id == 1)
|
||||
if(id == ArtifactID::SPELL_SCROLL)
|
||||
return 4;
|
||||
switch(aClass)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user