Skip to content

Commit

Permalink
Fix pending syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Feb 13, 2024
1 parent 9a0e117 commit 9cb1ddb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Ninja/G1CP/Content/Misc/info.d
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func int G1CP_InfoChangeDesc(var string infoName, var string originalStr, var st
var int infoId; infoId = G1CP_GetInfoInstId(infoName);

return (G1CP_ReplaceAssignStr(infoId, 0, "C_Info.description", 0, originalStr, correctedStr) > 0);
}
};

/*
* Change the value of an info's integer variable
Expand All @@ -92,4 +92,4 @@ func int G1CP_ChangeInfoIntVar(var string infoName, var string infoProp, var int
var int infoId; infoId = G1CP_GetInfoInstId(infoName);

return (G1CP_ReplaceAssignInt(infoId, 0, ConcatStrings("C_Info.", infoProp), 0, originalInt, correctedInt) > 0);
}
};
4 changes: 2 additions & 2 deletions src/Ninja/G1CP/Content/Misc/npc.d
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func int G1CP_NpcChangeIntVar(var string npcName, var string npcProp, var int or
var int npcId; npcId = G1CP_GetNpcInstId(npcName);

return (G1CP_ReplaceAssignInt(npcId, 0, ConcatStrings("C_Npc.", npcProp), 0, originalInt, correctedInt) > 0);
}
};

/*
* Rename an NPC
Expand All @@ -236,4 +236,4 @@ func int G1CP_NpcRename(var string npcName, var string originalStr, var string c
var int npcId; npcId = G1CP_GetNpcProtoId(npcName);

return (G1CP_ReplaceAssignStr(npcId, 0, "C_Npc.name", 0, originalStr, correctedStr) > 0);
}
};
2 changes: 1 addition & 1 deletion src/Ninja/G1CP/Content/Misc/routine.d
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ func int G1CP_RtnChangeWp(var string rtnName, var string originalWpName, var str
var int funcId; funcId = G1CP_GetFuncId(rtnName, "void|none");

return (G1CP_ReplacePushStr(funcId, 0, originalWpName, correctedWpName) > 0);
}
};

0 comments on commit 9cb1ddb

Please sign in to comment.