diff --git a/source/games/duke/src/game_misc.cpp b/source/games/duke/src/game_misc.cpp index 2a31e917e..ace64dbc6 100644 --- a/source/games/duke/src/game_misc.cpp +++ b/source/games/duke/src/game_misc.cpp @@ -62,7 +62,7 @@ FString GameInterface::GetCoordString() FString out; out.Format("pos= %d, %d, %d - angle = %2.3f - sector = %d, lotag = %d, hitag = %d", - ps[snum].posx, ps[snum].posy, ps[snum].posz, ps[snum].angle.ang.asbuild(), ps[snum].cursectnum, + ps[snum].posx, ps[snum].posy, ps[snum].posz, ps[snum].angle.ang.asdeg(), ps[snum].cursectnum, sector[ps[snum].cursectnum].lotag, sector[ps[snum].cursectnum].hitag); return out; diff --git a/source/games/duke/src/premap_d.cpp b/source/games/duke/src/premap_d.cpp index 7c2d89bb6..90030f2da 100644 --- a/source/games/duke/src/premap_d.cpp +++ b/source/games/duke/src/premap_d.cpp @@ -312,7 +312,7 @@ void prelevel_d(int g) { if (sprite[i].statnum < MAXSTATUS) { - if (sprite[i].picnum == SECTOREFFECTOR && sprite[i].lotag == 14) + if (sprite[i].picnum == SECTOREFFECTOR && sprite[i].lotag == SE_14_SUBWAY_CAR) continue; fi.spawn(-1, i); } @@ -321,7 +321,7 @@ void prelevel_d(int g) for (i = 0; i < MAXSPRITES; i++) if (sprite[i].statnum < MAXSTATUS) { - if (sprite[i].picnum == SECTOREFFECTOR && sprite[i].lotag == 14) + if (sprite[i].picnum == SECTOREFFECTOR && sprite[i].lotag == SE_14_SUBWAY_CAR) fi.spawn(-1, i); }