Small improvements to performance
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ errorret_t rpgInit(void) {
|
||||
entityInit(npc, ENTITY_TYPE_NPC);
|
||||
npc->position = (worldpos_t){ 3, 3, 0 };
|
||||
npc->interact.type = ENTITY_INTERACT_PRINT;
|
||||
stringCopy(npc->interact.data.message, "hello world", 32);
|
||||
npc->interact.data.message = "hello world";
|
||||
|
||||
// All Good!
|
||||
errorOk();
|
||||
|
||||
Reference in New Issue
Block a user