Skip to content
Snippets Groups Projects
Commit b1522b36 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Support @-codes in NodeAction text.dat strings

parent df325243
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
bool sbbs_t::putnodedat(uint number, node_t* node) bool sbbs_t::putnodedat(uint number, node_t* node)
{ {
char str[256]; char str[256];
char tmp[128];
char path[MAX_PATH+1]; char path[MAX_PATH+1];
int wr=0; int wr=0;
int wrerr=0; int wrerr=0;
...@@ -55,7 +56,7 @@ bool sbbs_t::putnodedat(uint number, node_t* node) ...@@ -55,7 +56,7 @@ bool sbbs_t::putnodedat(uint number, node_t* node)
,node->aux&0xff ,node->aux&0xff
,node->connection ,node->connection
); );
putnodeext(number,str); putnodeext(number, expand_atcodes(str, tmp, sizeof tmp));
} }
else else
node->misc&=~NODE_EXT; node->misc&=~NODE_EXT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment