| 410 | } |
| 411 | |
| 412 | GameValue SaveVar(const GameState* state, GameValuePar oper1) |
| 413 | { |
| 414 | RString name = oper1; |
| 415 | name.Lower(); |
| 416 | GameVariable& var = const_cast<GameVariable&>(state->GetVariables()[name]); |
| 417 | if (state->IsNull(var)) |
| 418 | { |
| 419 | return NOTHING; |
| 420 | } |
| 421 | |
| 422 | GStats._campaign.AddVariable(var); |
| 423 | |
| 424 | return NOTHING; |
| 425 | } |
| 426 | |
| 427 | GameValue GetAcceleratedTime(const GameState* state) |
| 428 | { |
nothing calls this directly
no test coverage detected