mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- gameexec cleanup
This commit is contained in:
parent
3cefda2983
commit
3711473194
1 changed files with 3 additions and 6 deletions
|
@ -1168,16 +1168,13 @@ void DoActor(bool bSet, int lVar1, int lLabelID, int lVar2, DDukeActor* sActor,
|
||||||
switch (lLabelID)
|
switch (lLabelID)
|
||||||
{
|
{
|
||||||
case ACTOR_X:
|
case ACTOR_X:
|
||||||
/*if (bSet) act->int_pos().X = lValue;
|
if (!bSet) SetGameVarID(lVar2, act->spr.pos.X / maptoworld, sActor, sPlayer);
|
||||||
else*/ SetGameVarID(lVar2, act->int_pos().X, sActor, sPlayer);
|
|
||||||
break;
|
break;
|
||||||
case ACTOR_Y:
|
case ACTOR_Y:
|
||||||
/*if (bSet) act->int_pos().Y = lValue;
|
if (!bSet) SetGameVarID(lVar2, act->spr.pos.Y / maptoworld, sActor, sPlayer);
|
||||||
else*/ SetGameVarID(lVar2, act->int_pos().Y, sActor, sPlayer);
|
|
||||||
break;
|
break;
|
||||||
case ACTOR_Z:
|
case ACTOR_Z:
|
||||||
/*if (bSet) act->int_pos().Z = lValue;
|
if (!bSet) SetGameVarID(lVar2, act->spr.pos.Z / zmaptoworld, sActor, sPlayer);
|
||||||
else*/ SetGameVarID(lVar2, act->int_pos().Z, sActor, sPlayer);
|
|
||||||
break;
|
break;
|
||||||
case ACTOR_CSTAT:
|
case ACTOR_CSTAT:
|
||||||
if (bSet) act->spr.cstat = ESpriteFlags::FromInt(lValue);
|
if (bSet) act->spr.cstat = ESpriteFlags::FromInt(lValue);
|
||||||
|
|
Loading…
Reference in a new issue