QQfoolsorellina Posted April 26, 2012 Share Posted April 26, 2012 (edited) I create a fucntion int checksonething(){} in src/map/vending.c to check somthing ,then I want to use the fuction in atocmmand.c how should I let the specified fucntion work in atocmmand.c? Edited April 26, 2012 by QQfoolsorellina Quote Link to comment Share on other sites More sharing options...
Brian Posted April 26, 2012 Share Posted April 26, 2012 (edited) Add a line to the header of /src/map/atcommand.c #include "vending.h" Edit: you're welcome! Edited April 26, 2012 by Brian Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted April 26, 2012 Author Share Posted April 26, 2012 Add a line to the header of /src/map/atcommand.c #include "vending.h" Thank you so much Quote Link to comment Share on other sites More sharing options...
I create a fucntion int checksonething(){} in src/map/vending.c to check somthing ,then I want to use the fuction in atocmmand.c how should I let the specified fucntion work in atocmmand.c?
Edited by QQfoolsorellinaLink to comment
Share on other sites