15 lines
320 B
Plaintext
15 lines
320 B
Plaintext
|
// Removes Celerity from the AC being edited
|
||
|
|
||
|
#include "psi_inc_ac_const"
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
|
||
|
nFlags ^= ASTRAL_CONSTRUCT_OPTION_CELERITY;
|
||
|
|
||
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
||
|
}
|