diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-09-04 22:28:43 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-09-04 22:28:43 -0300 |
| commit | 8d565e911691a3740c283bd33ebc11d6d0fac6b7 (patch) | |
| tree | be1b47836834e018d6670cd3d36d4a9aebc3ea6b /src/crplayer.cc | |
| parent | 9b2292bdce7667c1a32e478925ee28b8f71b8f35 (diff) | |
| download | game-8d565e911691a3740c283bd33ebc11d6d0fac6b7.tar.gz game-8d565e911691a3740c283bd33ebc11d6d0fac6b7.zip | |
missing try-catch block in `CreateField` - fixes #21
The result DESTROYED was being caught at `UseMagicItem`, causing
the cast to fail but not before partially spawning other fields in
the case of `MassCreateField` and `CreateFieldWall`.
Diffstat (limited to 'src/crplayer.cc')
| -rw-r--r-- | src/crplayer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crplayer.cc b/src/crplayer.cc index 1339ada..c4dbd80 100644 --- a/src/crplayer.cc +++ b/src/crplayer.cc @@ -282,7 +282,7 @@ TPlayer::~TPlayer(void){ } // NOTE(fusion): This is used to reset skills back to default. See - // `LoadData`. + // `TPlayer::LoadData`. for(int SkillNr = 0; SkillNr < NARRAY(PlayerData->Minimum); SkillNr += 1){ |
